import { request } from 'umi';

export function orderList(payload: any) {
    let params = {
        size: payload.size,
        current: payload.current,
        orderNumber: payload.orderNumber ? payload.orderNumber : undefined
    }
    return request(`/order/order/page`, {
        params
    });
}